﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RentHouse.Common;
using RentHouse.DTO;

namespace RentHouse.IService
{
   public interface IRolesService:IServiceSupport
    {
        List<RolesAddDTO> GetList(int length, int start, string name, ref int rowCount);
        List<RolesDTO> GetList();

        List<PermissionDTO> GetAdd();
        AjaxResult AddRole(RolesAddDTO dTO);
        RoleEditDTO GetEditRole(long id);
        AjaxResult Edit(RolesAddDTO dTO);
        AjaxResult Delete(long id);
        AjaxResult Deletes(long [] id);

    }
}
